SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4199c6884e2fd4996e66a43fd390ddacadd018f6fea244654df3bac88e81bad1' 
  AND token = 'lHAi6qifJIuqEOH0g38NIklxIlzVA47fG29jeHT5tRE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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