SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2a0535ffddfd79fef87becb7ea6b6cf056e5cc4e311b6e34d6a041f6225dd549' 
  AND token = 'tNnLuufthyhNY6GJFSqSMHIDlwEmJk4qeGrndQDu8cE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00046

JSON explain

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