SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a3ec7c22d70e10c96a4f2f299429126397eda35979ff43c4ac7cb8030bbe19bf' 
  AND token = 'P9HdkJlqKDu5xWodJHH5E9iDkWCL5Xf/sKfFNGW0JW0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

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