SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ef7f10c582b7ea12e14dd4e9b97016efb18287d284951d91b610a68531ab961e' 
  AND token = 'EN0OkQJQeH5XnTbp2UO1AMZ/6hRTASq9XUlHcTqy2Uc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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