SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9dea477d8cbec20967ad69d09d61dbc529ecd853a5e6497659c3960b7cc711b2' 
  AND token = 'S4cXK6BGxG9FGgbEp8Q4LWnjnTtOt3ZOKm7vbT8fgw4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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