SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '305e2e5fe5c05422e4cee3380554e323c67257a8c41114659ad2970344327820' 
  AND token = 'mI6JdU5wLT84+17uiF6ZPhZK8H/DzQFUXrwIr4Gimz4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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