SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5ca7c1d4988d10f0319b5507ec01848cf16274c9c7d12060642b5e9781f7feb4' 
  AND token = 'cT8SFxVPJTQ50aDNRZtFfJfh5Ci4ofsbSvXM14YnkiQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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