SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd40dec99843db3ef008d8d8b58a971c545536af697789bf511132b1c69b11798' 
  AND token = 'ZkCUIxfJTL5GH37qKQcdDiwLyQU6UVr4Gzvyaq7pxb8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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