SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '400d61a79c4f976c219e9d19ebf238f6ec9bb96f373431515be6980606df968b' 
  AND token = 'DawWkmQlBbWH8pAVeFDFgDHImwdWl9UQTZRJ438111E=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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