SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b6ff17269a060884ace89d8c54785f46006196bb44dfe459a0439efb47f04d44' 
  AND token = 'y0oUIxi0pZ8X1L5CMC/66WMdltt5ZIIbDJsRjaVKn/A=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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