SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ad9d0ff3a5f3b1c16718e46ea19e49e468b68a8f6c5ae519bfd20f573bc2a0cd' 
  AND token = 'S4zEgFDcI68YIrHLbro6n1mG1+7kRNlPSI+pr4X4R8U=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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