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

Query time 0.00037

JSON explain

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