SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ddd1196a69ae7ffe0b2bf7cf8e90a6abf33c2e48d35aad746c0ec6991dd08744' 
  AND token = 'Pw1pWbqwvrq79vjHbma2XxKTcJajmB2EmX0JZBkw8e8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}