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

Query time 0.00017

JSON explain

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