SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '22c5dcae5b0224b1903633fa11f6efc89547ff1eda2745216c14f5138a9d0edf' 
  AND token = 'H96ZvqRhgAnKKzDXvgD5vJ5InWqOiPg1NarIH1tcGDg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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