SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9012bcaff2f95e4ede67f5629ec78d7402ad5f956551db69fd92840ee64be058' 
  AND token = 'hyoWVdypsfh0JxhGN87w9S+Mc/21djj5MXvjQWQUgsc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

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