SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '56819c56c50a04810e5db0aa360cbe5eaf39d968025775a065b2db2b30e6900f' 
  AND token = 'SCNFPapnw8NJBf0oWmibOaBaPCa3SUL2va1Fb+QKpE8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00044

JSON explain

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