SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1128632427f2ad734622b55635fcdd4c1b04a21411a607f2137e72ddc7f026c4' 
  AND token = 'tPgm1EFnWdYDEXp7sxnNqEM05m2UL0dLCbMq1Kinv10=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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