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

Query time 0.00048

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}