SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7c831f4f7bd8c8843376398ea8110953972f62bb0e97223cc45754cfdc2e629c' 
  AND token = 'IM5kjCWVIoE2mEqp0c4Y7grv7eBDFSXbqVR0PIV8s8o=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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