SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '877f3280a1a4b32d60123061428d2ced174be1416578a661bb01b7c3cafd5112' 
  AND token = '6at7q634QRtKoT1f78qOJKeVrLSK1eRsGNcIKT0IRJM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00013

JSON explain

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