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

Query time 0.00028

JSON explain

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