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

Query time 0.00041

JSON explain

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