SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e74d1802c1540846ad6827fd8307f953d3a5693e6b9a73c2a57029273e691cb4' 
  AND token = '2idEa16+RMkF8byoadhMBOIWPOuM1ZmVGDTx2nDGGV4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00020

JSON explain

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