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

Query time 0.00024

JSON explain

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